package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author ShiJieLin
 * @email ShiJieLin@gmail.com
 * @date 2022-03-29 09:39:34
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    /** 保存ES成功修改上架状态
     * @param spuId
     * @param code
     */
    void updaSpuStatus(@Param("spuId") Long spuId, @Param("code") Long code);
}
